<?php
/**
* HTML Form
*
*/
class form extends elementInner
{
    public function form($id=NULL, $inner=NULL, $action='index.php', $method='post', $onSubmit=NULL, $class=NULL)
    {
        parent::elementInner('form',$id, $inner, $class, NULL);
        $this->addAttribute('action', $action);
        $this->addAttribute('method', $method);
        $this->addEvent('onSubmit', $onSubmit);
    }
}
?>